/* 
 * File:   main_form.h
 * Author: dima
 *
 * Created on 6 Февраль 2015 г., 11:20
 */

#ifndef _MAIN_FORM_H
#define	_MAIN_FORM_H
#include <QMainWindow>
#include <QLabel>
namespace Ui
{
class main_form;
}
namespace ipd
{
class ipd_img;
}
class form_spatial_smoothing_filters;

class main_form : public QMainWindow
{
    Q_OBJECT
public:
    main_form();
    virtual ~main_form();
private slots:
    void convert_image();
    void save_image();
    void open_image();
    void get_image(ipd::ipd_img &image);
private:
    ipd::ipd_img* img;
    form_spatial_smoothing_filters *filter;
    Ui::main_form *widget;
    void show_img(QLabel *label, ipd::ipd_img &image); //show image
    void delete_form_filter(); //delete form_spatial_smoothing_filters
    bool create_form_filter(); //create class form_spatial_smoothing_filters
};

#endif	/* _MAIN_FORM_H */
